﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCSearch.ascx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.UserControls.UCSearch" %>

<table >
    <tr>
        <td >
            <asp:Label ID="Label1" runat="server"  Text="Search"></asp:Label>
        </td>
        <td >
            &nbsp;</td>
        <td >
            &nbsp;</td>
    </tr>
    <tr>
        <td >
            <asp:Label ID="lblHeader" runat="server" Text="test"></asp:Label>
        </td>
        <td >
            &nbsp;</td>
        <td >
            &nbsp;</td>
    </tr>
    <tr>
        <td >
            <asp:Label ID="lblGroup" runat="server" Text="Group"></asp:Label>
            <span lang="en-us">&nbsp; </span>
            <asp:Label ID="Label3" runat="server" ForeColor="#FF3300" Text="*"></asp:Label>
        </td>
        <td >
        <asp:DropDownList ID="drpdownGroup" runat="server" 
                                                
                OnSelectedIndexChanged="drpdownGroup_SelectedIndexChanged" 
                AutoPostBack="True" >
                                                <asp:ListItem Value="-1">Select</asp:ListItem>
                                            </asp:DropDownList>
            
        </td>
        
        
        
        
        
        
        
        
        <td >
            <asp:CompareValidator ID="vldGroup" runat="server" 
                ControlToValidate="drpdownGroup" ErrorMessage="Select a Group" 
                Operator="NotEqual" ValueToCompare="Select One...">Select a Group</asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td >
            <asp:Label ID="lblBranch" runat="server" Text="Branch"></asp:Label>
            <span lang="en-us">&nbsp;<asp:Label ID="Label4" runat="server" 
                ForeColor="#FF3300" Text="*"></asp:Label>
            </span>
        </td>
        <td >
            <asp:DropDownList ID="drpdownBranch" runat="server" AutoPostBack="True" 
                onselectedindexchanged="drpdownBranch_SelectedIndexChanged">
                <asp:ListItem>Select One...</asp:ListItem>
            </asp:DropDownList>
        </td>
        
        
        
        
        
        
        
        
        
        
        
        <td >
            <asp:CompareValidator ID="vldBranch" runat="server" 
                ControlToValidate="drpdownBranch" ErrorMessage="Select a Branch" 
                Operator="NotEqual" ValueToCompare="Select One...">Select a Branch</asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td >
            <asp:Label ID="lblUnit" runat="server" Text="Unit"></asp:Label>
            <span lang="en-us">&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label5" runat="server" ForeColor="#FF3300" Text="*"></asp:Label>
            </span>
        </td>
        <td >
            <asp:DropDownList ID="drpdownUnit" runat="server">
                <asp:ListItem>Select One...</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td >
            <asp:CompareValidator ID="vldUnit" runat="server" 
                ControlToValidate="drpdownUnit" ErrorMessage="Select a Unit" 
                Operator="NotEqual" ValueToCompare="Select One...">Select a Unit</asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td >
            <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="*  Required Fields"></asp:Label>
        </td>
        <td >
            <span lang="en-us">&nbsp; </span>
            <asp:Button ID="btnSearch" runat="server" onclick="btnSearch_Click" 
                Text="Search" />
            <span lang="en-us">&nbsp;&nbsp; </span>
            <asp:Button ID="btnCreate" runat="server" Text="Create" 
                onclick="btnCreate_Click" CausesValidation="False" />
        </td>
        <td >
            &nbsp;</td>
    </tr>
    <tr>
        <td >
            &nbsp;</td>
        <td >
            &nbsp;&nbsp;</td>
        <td >
            &nbsp;</td>
    </tr>
    <tr>
    <td >
    </td>
        
    </tr>
</table>
